package com.rocksea.app;

import com.rocksea.app.utils.PerUtils;

/**
 * Created by Mrw on 2017/8/16.
 *
 */

public class Account
{
    public static final String PASSWORD_KEY = "password_key";
    public static final String AUTO_UPLOAD = "auto_upload";
    public static final String IMAGE_AUTO_UPLOAD = "image_upload";
    public static final String ACCOUNT_KEY = "ACCOUNT_KEY";
    public static final String RANDOM_CODE_KEY = "RANDOM_CODE_KEY";

    public static String getAccount()
    {
        return PerUtils.getString(ACCOUNT_KEY,"");
    }

    public static void setAccount(String account)
    {
        PerUtils.setString(ACCOUNT_KEY,account);
    }

    public static String getRandomCode()
    {
        return PerUtils.getString(RANDOM_CODE_KEY,"");
    }

    public static void setRandomCode(String randomCode) {
        PerUtils.setString(RANDOM_CODE_KEY,randomCode);
    }
}
